<template>
  <div class="loading">
    <div class="modal">
      <i class="el-icon-loading"></i>
      <span>Loading…</span>
    </div>
  </div>
</template>

<script>
export default {
  props: {},
  data() {
    return {};
  },
  computed: {},
  created() {},
  mounted() {},
};
</script>

<style lang="scss" scoed>
.loading {
  width: 100%;
  height: 100%;
  z-index: 9999;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  .modal {
    width: 110px;
    height: 110px;
    color: #fff;
    font-size: 16px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba($color: #000000, $alpha: 0.6);
    .el-icon-loading {
      font-size: 40px;
      margin-bottom: 10px;
    }
  }
}
</style>
